// 导入二次封装axios
import koi from "@/utils/axios.ts";

export const listPage = (params: any) => koi.get("/app/coupon/admin/coupon/list", params);
export const add = (data: any) => koi.post("/app/coupon/admin/coupon/add", data);
export const remove = (data: any) => koi.post("/app/coupon/admin/coupon/remove", data);
export const update = (data: any) => koi.post("/app/coupon/admin/coupon/update", data);
export const read = (id: any) => koi.get("/app/coupon/admin/coupon/read", { id });
